package qn.easywechat;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import qn.common.utils.LogUtil;

@SpringBootApplication
@ImportResource({"classpath:spring-conf/spring-context.xml"})
public class QnEasywechatApplication {

	private static final Logger logger = LoggerFactory.getLogger(QnEasywechatApplication.class);

	public static void main(String[] args) {
        LogUtil.info("start","start","---------------------------this is  QnEasywechatApplication MainApp");

		// 记录debug级别的信息
		logger.debug("This is debug message.");
		// 记录info级别的信息
		logger.info("This is info message.");
		// 记录error级别的信息
		logger.error("This is error message.");




		SpringApplication.run(QnEasywechatApplication.class, args
		);
	}
}
